import 'package:flutter/material.dart';

import 'color_value.dart';

final class StyleValue {

  //dialog
  static final TextStyle appDialogOkBtnStyle = TextStyle(
    color: ColorValue.appPrimaryColor,
  );

  static final TextStyle appDialogCancelBtnStyle = TextStyle(
    color: Colors.black54,
  );

  static final TextStyle appDialogTitleStyle = TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.w500,
  );

  static final TextStyle appDialogContentStyle = TextStyle(
    fontSize: 14,
    color: Colors.black87,
  );

  static final EdgeInsetsGeometry contentInnerPadding = EdgeInsets.only(
      top: 10, bottom: 10);


  static final defaultAppBar = AppBar(
      backgroundColor: ColorValue.appBg, title: const Text('本地文件服务器'));


  static AppBar getAppBar(String title) {
    return AppBar(
        backgroundColor: ColorValue.appBg, title:  Text(title));
  }

}
